<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>GS-Thymeleaf</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" media="all"
	th:href="@{/header.css}" />
<link rel="stylesheet" type="text/css" media="all"
	th:href="@{/footer.css}" />
</head>
<body>
	<div th:replace="header :: header"></div>
	<h2 th:text="'Param From Query String -> ' + ${param.param == null ? '' : param.param[0] }"></h2>
	<h2 th:text="'Param From Session -> ' + ${session.username}"></h2>
	<h2 th:text="'Param From Model -> ' + ${user.username}" ></h2>
	<hr>
	<h2>Foreach -></h2>
	<select>
		<option th:each="option : ${options}" th:text="${option}"></option>
	</select>
	<hr>
	<h2>I18N -></h2>
	<a href="?locale=zh">CN</a>|<a href="?locale=en">EN</a>
	<h2>Msg:<span th:text="#{hello}"></span></h2>
	<hr>
	<div style="margin-top: 100px;">Rendered By Thymeleaf !</div>
	<div th:replace="footer :: footer"></div>
</body>
</html>